/******************************************************************************

	Copyright (C) saide.  All rights reserved.

    filename:   CanUpgradeCmdDf.h
    version :   v1.0
    author  :   C7
    purpose :   None
    note    :   None

******************************************************************************/
#ifndef _CanUpgradeCmdDf_H
#define _CanUpgradeCmdDf_H
#include "main.h"
extern void CanTransmiUpgradeIntoUpgradeModeCommd(uint8_t u8DevTye);
extern void CanReturnIntoUpgradeModeCommd(uint8_t u8Result);

extern void CanTransmitUgradeStartCommd(uint16_t u16PackMaxBytes,uint32_t u32FileSize,uint16_t u16FileCrc16);
extern void CanReturnUgradeStartCommd(uint8_t u8Result);

extern void CANTransmitUpgradeFileRequestTransferCommd(uint16_t u16RequestSendPackNum,uint16_t u16PackLen);
extern void CanReturnTransmitUpgradeFileRequestTransferCommd(uint8_t u8Result);

extern void CanTransmitUpgradeFileTransferCommd(uint8_t u8CurrentFrameNum,uint8_t *u8DataTable);
extern void CanReturnTransmitUpgradeFileTransferCommd(uint8_t u8Result,uint8_t u8Reason);

extern void CanTransmitUpgradeFileTransferEndCommd(void);
extern void CanReturnUpgradeFileTransferEndCommd(uint8_t u8Result,uint8_t u8Reason);

extern void CanTransmitUgradeStatusQueryCommd(uint8_t u8DevType);
extern void CanReturnUgradeStatusQueryCommd(uint8_t u8DevType,uint8_t u8Status,uint8_t u8Schedule,uint8_t u8Reason);

#endif
